package com.xxxx.crm.dao;

import com.xxxx.crm.base.BaseMapper;

import com.xxxx.crm.vo.Customer;


import java.util.List;
import java.util.Map;


public interface CustomerMapper extends BaseMapper<Customer, Integer> {
    //int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    //int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    //int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    //查询客户构成，用于图表展示
    List<Map<String,Object>>countCustomerMake();
}